package cn.com.cym.gamezao.service.recruit;

import cn.com.cym.gamezao.entity.authorize.User;
import cn.com.cym.gamezao.entity.xmu.recruit.LearnExperience;
import org.springframework.lang.NonNull;

import java.util.List;

public interface LearnExperienceService {
    List<LearnExperience> searchByCurrentUser();

    List<LearnExperience> searchByCurrentUserId(@NonNull Long userId);

    int save(LearnExperience learnExperience);

    int update(LearnExperience learnExperience,Long id);

    void deleteById(Long id);

    List<LearnExperience> findAllByUser(User user);
}
